﻿using System.Windows;

namespace MediaBrowser.CustomControls.CustomEvent
{
    public delegate void ValueChangeEvent(object sender);

    public delegate void ValueChangeEventHandler(object sender,
        ValueChangeEventArgs e);

    public class ValueChangeEventArgs : RoutedEventArgs
    {
        public object Sender { get; set; }
        public double Value { get; set; }

        public ValueChangeEventArgs(RoutedEvent routedEvent,
            object sender, double value)
            : base(routedEvent)
        {
            this.Sender = sender;
            this.Value = value;
        }
    }
}
